package com.ruoyi.system.domain;

import java.util.List;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 鲜花对象 flower
 *
 * @author ruoyi
 * @date 2025-03-26
 */
public class Flower extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private int buyNum;

    private Float amount;

    public Float getAmount() {
        return amount;
    }

    public void setAmount(Float amount) {
        this.amount = amount;
    }

    public int getBuyNum() {
        return buyNum;
    }

    public void setBuyNum(int buyNum) {
        this.buyNum = buyNum;
    }

    /** 主键ID */
    private Long id;

    /** 鲜花名称 */
    @Excel(name = "鲜花名称")
    private String flowerName;

    /** 鲜花类别id */
    @Excel(name = "鲜花类别id")
    private Long flowerClassId;

    private String className;

    /** 价格 */
    @Excel(name = "价格")
    private Float price;

    /** 库存 */
    @Excel(name = "库存")
    private Long stock;

    /** 图片 */
    @Excel(name = "图片")
    private String img;


    private String cate;

    /** 评论人id */
    private Long userId;



    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }



    public String getCate() {
        return cate;
    }

    public void setCate(String cate) {
        this.cate = cate;
    }

    private List<Message> messageList;

    public List<Message> getMessageList() {
        return messageList;
    }

    public void setMessageList(List<Message> messageList) {
        this.messageList = messageList;
    }
    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;

    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setFlowerName(String flowerName)
    {
        this.flowerName = flowerName;
    }

    public String getFlowerName()
    {
        return flowerName;
    }

    public void setFlowerClassId(Long flowerClassId)
    {
        this.flowerClassId = flowerClassId;
    }

    public Long getFlowerClassId()
    {
        return flowerClassId;
    }

    public void setPrice(Float price)
    {
        this.price = price;
    }

    public Float getPrice()
    {
        return price;
    }

    public void setStock(Long stock)
    {
        this.stock = stock;
    }

    public Long getStock()
    {
        return stock;
    }

    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }


}
